#!/bin/bash
# install g++ gcc 5 or 6
sudo apt install -y g++5 g++6 gcc5 gcc6
# 编译高版本cmake
wget https://cmake.org/files/v3.11/cmake-3.11.1.tar.gz
tar -zxvf cmake-3.11.1.tar.gz
cd cmake-3.11.1
./configure
make
#安装至系统
sudo make install


